package com.yunchao.feature.base.domain.model

class PageInfo {

    companion object {
        const val PAGE_SIZE = 10
    }

    var page = 1
    fun nextPage() {
        page++
    }

    fun reset() {
        page = 1
    }

    val isFirstPage: Boolean
        get() = page == 1
}